#ifndef _VN_BLADER_SPAWNER_H_
#define _VN_BLADER_SPAWNER_H_

#include "..\Generic\GameTime.h"

class GameObjectManager;
class BladerSpawner
{
public:
	BladerSpawner(GameObjectManager* p_gameObjectManager, int p_minSpawn, int p_maxSpawn);
	virtual ~BladerSpawner(void);

	void update(const GameTime& p_gameTime);

protected:
	inline void spawn();
	inline void generateTime();

	int m_minSpawn;
	int m_maxSpawn;
	int m_elapsedTime;
	int m_targetTime;
	GameObjectManager* m_gameObjectManager;
};

#endif // _VN_BLADER_SPAWNER_H_